package com.xiang.community.exceptions;

import lombok.Data;

/**
 * @author qixiangLi
 * @Date 2021/11/24
 */
@Data
public class BusinessException extends RuntimeException {
    String code;
    String message;

    public BusinessException(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
